//
//  YLPushViewController.swift
//  weiBo
//
//  Created by 杨雷 on 2016/12/1.
//  Copyright © 2016年 Yang.L. All rights reserved.
//

import UIKit

class YLPushViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor = UIColor.white
        
        setupUI()
        
    }

    private func setupUI() {
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "Push", target: self, action: #selector(pushAction))
    }
    
    @objc private func pushAction() {
        let pushVC = YLPushViewController()
        
        self.navigationController?.pushViewController(pushVC, animated: true)
    }
    
    
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    


}
